package fancyvoc;

import java.awt.Color;

import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;

public class GUI_Editor2 extends JFrame {

	
	
	private static final int WINDOW_WIDTH = 800;
	private static final int WINDOW_HEIGHT = 600;
	
	
	public GUI_Editor2(){
		
		
		GUILaden();
		
		
	}
	
	
	
	
	
	public void GUILaden(){
				
		setLayout(null);
		setSize(WINDOW_WIDTH, WINDOW_HEIGHT);
		setDefaultCloseOperation(EXIT_ON_CLOSE);
		setVisible(true);
		setLocationRelativeTo(null);
		setLayout(null);
		setBackground(Color.WHITE);
		setResizable(true);
		setVisible(true);
		validate();
		repaint();
		addHintergrund();
	}
	
	private void addHintergrund() {
		JLabel bild2;
		Icon icon2;

		icon2 = new ImageIcon(getClass().getResource("background1.png"));
		bild2 = new JLabel(icon2);
		add(bild2);
		bild2.setBounds(0, -20, 800, 600);

	}
	
	
}
